﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL.Class
{
    internal class Value
    {
        public string _id { get; set; }
        public string _rev { get; set; }
        public int Id { get; set; }
        public string Name { get; set; }
        public string AccomodationType { get; set; }
        public string Headline { get; set; }
        public string Description { get; set; }
        public string Place { get; set; }
        public string AddressStreet { get; set; }
        public string ZipCode { get; set; }
        public string City { get; set; }
        public string Country { get; set; }
        public string Latitude { get; set; }
        public string Longitude { get; set; }
        public string Phone { get; set; }
        public string SunHotelId { get; set; }
    }

    internal class Row
    {
        public string id { get; set; }
        public string key { get; set; }
        public Value value { get; set; }
    }

    internal class RootObject
    {
        public int total_rows { get; set; }
        public int offset { get; set; }
        public List<Row> rows { get; set; }
    }
}
